var express = require('express');
var router = express.Router();
const TestedsController = require("../controllers/TestedsController")

//获取所有类型
router.get('/', TestedsController.findAll)
//获取当前用户已考试卷
router.post('/findByStuId', TestedsController.findByStuId)
//接收学生考试数据
router.post('/getStuTest', TestedsController.getStuTest)
//根据id查询数据
router.get('/findById', TestedsController.findById)

module.exports = router